package cn.su.service;

import cn.su.pojo.User;
import cn.su.pojo.fenye;
import cn.su.pojo.role;

import java.util.List;

public interface UserService {

    public User Login(String name,String password);    //登录功能
    public  int xiugai(String oldpass,String newpass); //修改密码
    public List<User> User_list(fenye fenye);
    public List<role> role_list();
    public List<User> USer_search(String name, String juese);
    public int User_add(User user);//添加用户
    public  User User_chakan(int id);
    public  int User_update(int id,User user);
    public  int User_delete(int id);
    public  int  User_count();
}
